package com.epfresh.supplier.entity;

import java.util.ArrayList;

/**
 * Created by wzh on 16-10-18.
 */
public class CityAddressList {

    private String code;
    private String id;
    private int level;
    private ArrayList<CityAddressList> children;
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getLevel() {
        return this.level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public ArrayList<CityAddressList> getChildren() {
        return children;
    }

    public void setChildren(ArrayList<CityAddressList> children) {
        this.children = children;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }
}

